home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Demos / AppMaker 2.0b3 / Demo AppMaker 1.5 / Demo AppMaker™ / Demo AppMaker™.rsrc / TmMM_104_Window.DEF < prev    next >
Encoding:
Modula Definition  |  1992-04-08  |  969 b   |  30 lines

  1. (* %filename% -- window *)
  2. (* Created %date% %time% by AppMaker  *)
  3.  
  4. (*    For most applications, your window will have custom view classes.    *)
  5. (*    This module provides a convenient place to put these classes.        *)
  6. (*    If you specify a custom classname for any view item, AppMaker will    *)
  7. (*    generate some skeleton code for that custom class.  It generates    *)
  8. (*    a declaration of that class with a fields method; it generates        *)
  9. (*    the body of the fields method; and AppMaker generates code for        *)
  10. (*    dead strip suppression.  For some view items, AppMaker generates    *)
  11. (*    other methods it knows you will need; for instance, for a             *)
  12. (*    TTextListView, AppMaker generates a GetItemText method.                *)
  13.  
  14. DEFINITION MODULE U%windname%;
  15.  
  16. FROM UMacApp IMPORT
  17.     TDocument, TWindow;
  18.  
  19. (*${QINSPECTOR*)
  20. FROM UMacAppUtilities IMPORT
  21.     DoToFieldMETHOD;
  22. (*$}*)
  23.  
  24. %for each item gen classDecl%
  25.     
  26. (*----------*)
  27. PROCEDURE New%windname%     (itsDocument:    TDocument):    TWindow;
  28.  
  29. END U%windname%.
  30.